OpenBuildings GenerativeComponents Help

IndexOf

Returns the index of the first occurrence of the given value within the given list.

int IndexOf(object[] list, object any, optional int startingIndex)

If the value isn't found, returns -1.

The search starts at the given starting index. The default starting index is zero.